﻿Public Class Form3

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim args As String = TextBox1.Text

        If ComboBox1.SelectedItem = "Ilasm" Then
            Process.Start("ilasm.exe", args)
        ElseIf ComboBox1.SelectedItem = "Ildasm" Then
            Process.Start("ildasm.exe", args)
        ElseIf ComboBox1.SelectedItem = "PEVerify" Then
            Process.Start("PEVerify.exe", args)
        ElseIf ComboBox1.SelectedItem = "Mage" Then
            Process.Start("mage.exe", args)
        ElseIf ComboBox1.SelectedItem = "MageUI" Then
            Process.Start("mageui.exe", args)
        ElseIf ComboBox1.SelectedItem = "Other" Then
            Process.Start(TextBox2.Text, args)
        End If

    End Sub

    Public Sub New()

        ' This call is required by the Windows Form Designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.

    End Sub
End Class